﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapFrom(typeof(AnswerInChannelFormField))]
    public class AnswerInChannelFormFieldDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// enums: text ,textArea,radioBox ,checkBox ,dropDownList ,checkBoxList, this is the type of fields appear on the form
        /// </summary>
        public string Type { get; set; }
        public string Name { get; set; }
        public string EntityId { get; set; }
        public EntityDto Entity { get; set; }
        public string EntityLabel { get; set; }
        public bool IsRequired { get; set; }
        public bool IsMasked { get; set; }      
        public List<string> Options { get; set; }
    }
}
